function A=lireodometre(fileName)

if nargin == 0
  error('You have to specify a filename (between quotes: ''name'') !');
end;

imafid = fopen(fileName, 'r');
if ~(imafid > 2)
  error(['Failed to open the file: ' fileName]);
end;

A = fscanf(imafid,'%f %f',[2,inf]);


imastat = fclose(imafid);
if ~(imastat == 0)
  error(['Failed to close the file:' fileName]);
end;
